package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.Brand;
import com.atguigu.spzx.model.entity.product.CategoryBrand;
import com.atguigu.spzx.model.vo.sys.CategoryBrandVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryBrandMapper {
    List<CategoryBrandVo> selectByCondition(CategoryBrand categoryBrand);

    void deleteById(Long id);

    void save(CategoryBrand categoryBrand);

    CategoryBrand getById(Long id);

    void update(CategoryBrand categoryBrand);

    List<Brand> listBrandsByC3id(Long c3id);
}
